package com.xiyu.service.vo.customer.customer;

import com.xiyu.service.vo.customer.contact.baseVO.CustomerContactMailBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;

@Schema(description = "根据客户ID获取邮件联系人邮箱信息")
@Data
@AllArgsConstructor
public class CustomerGetMailInfoByCustomerIdsOutput extends CustomerContactMailBase {

    @Schema(description = "客户联系人邮箱主键ID")
    private Long id;

    @Schema(description = "客户联系人")
    @Valid
    private contact contact;

    @Schema(description = "")
    @Data
    public static class customer {

        @Schema(description = "名称")
        private String name;
    }

    @Schema(description = "客户联系人")
    @Data
    public static class contact {

        @Schema(description = "工作状态")
        private Long workState;

        @Schema(description = "客户")
        private customer customer;

        @Schema(description = "姓名")
        private String name;

        @Schema(description = "客户联系人主键ID")
        private Long id;

        @Schema(description = "职位")
        private String position;

        @Schema(description = "是否是主联系人")
        private Boolean isMain;
    }
}